package lucene.server.web.model;

import lombok.Data;
import lucene.server.common.model.Table;
import lucene.server.common.utils.DateUtils;

@Data
@Table(name = "sys_log")
public class IndexJobLog {
    private String id;
    private String jobname ;
    private String begintime = DateUtils.now();
    private String endtime;
    private boolean jobflag = true;
    private String jobresult;
    /**
    * 日志类型 0job日志   1搜索日志  2报错日志  3其他日志
    * */
    private int logType=0;
    public IndexJobLog(){}
    public IndexJobLog(String jobname){
        this.jobname = jobname;
    }

}
